<?php

//主页

class Home
{

	public function request()
	{
		$content = User::find();

		view('home', array('title' => '首页', 'content' => $content));
	}

	public function QQ()
	{
		$arr['pt']="腾讯";
		$content = Project::find_view($arr);
		view('pro_view', array('title' => '工作计划', 'content' => $content));
	}
	public function FB_FAN()
	{
		$arr['pt']="FB繁体";
		$content = Project::find_view($arr);
		view('pro_view', array('title' => '工作计划', 'content' => $content));
	}
	public function FB_TAI()
	{
		$arr['pt']="FB泰语";
		$content = Project::find_view($arr);
		view('pro_view', array('title' => '工作计划', 'content' => $content));
	}
	public function MIXI()
	{
		$arr['pt']="Mixi";
		$content = Project::find_view($arr);
		view('pro_view', array('title' => '工作计划', 'content' => $content));
	}
	public function FEIXIN()
	{
		$arr['pt']="飞信";
		$content = Project::find_view($arr);
		view('pro_view', array('title' => '工作计划', 'content' => $content));
	}
}

?>